furny.states
Class InitializerUIState
java.lang.Object
com.jme3.app.state.AbstractAppState
ga.view.appstate.GUIState
furny.states.InitializerUIState
- All Implemented Interfaces:
- com.jme3.app.state.AppState
public class InitializerUIState
- extends GUIState
This is an advanced app state which adds gui to the initializer pre state.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
Fields inherited from class com.jme3.app.state.AbstractAppState |
initialized |
Methods inherited from class com.jme3.app.state.AbstractAppState |
isEnabled, isInitialized, postRender, render, stateAttached, stateDetached, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
private final InitializerUIController controller
niftyDisplay
private com.jme3.niftygui.NiftyJmeDisplay niftyDisplay
nifty
private de.lessvoid.nifty.Nifty nifty
audioRenderer
private com.jme3.audio.AudioRenderer audioRenderer
evaluator
private final IInteractiveFitnessEvaluator<FurnLayoutIndividual> evaluator
state
private final InitializerPreState state
menuListener
private MenuListener menuListener
InitializerUIState
public InitializerUIState(IInteractiveFitnessEvaluator<FurnLayoutIndividual> evaluator,
InitializerPreState state,
MenuListener menuListener)
- Instantiates a new initializer ui state.
- Parameters:
evaluator
- the evaluatorstate
- the statemenuListener
- the menu listener- Since:
- 12.08.2012
getController
public InitializerUIController getController()
- Gets the ui controller.
- Returns:
- the controller
- Since:
- 12.08.2012
initialize
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
- Specified by:
initialize
in interface com.jme3.app.state.AppState
- Overrides:
initialize
in class GUIState
updateView
public void updateView()
- Updates the view.
- Since:
- 12.08.2012
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface com.jme3.app.state.AppState
- Overrides:
setEnabled
in class GUIState
cleanup
public void cleanup()
- Specified by:
cleanup
in interface com.jme3.app.state.AppState
- Overrides:
cleanup
in class com.jme3.app.state.AbstractAppState